<template>
  <div>
   <h1>404页面不见了哦</h1> 
   <h2 @click="goHome()">返回首页</h2>
  </div>
</template>

<script>
export default {
  methods: {
    goHome(){
      this.$router.push('/home');
    }
  },
}
</script>

<style scoped>

</style>